{layout name="layout" /}
<div class="table-tip fn-clear">
    <div class="fn-left">
        <select class="select" name="category_id" onchange="window.location=options[(this.selectedIndex)].value">
        <option value="">考场统计</option>
        {volist name="exam_json" id="vo"}
        <option value="{$vo.href}" {if $school_id == $vo['id']}selected="selected"{/if}>{$vo['text']}</option>
        {/volist}
        </select>
        {present name="$info['name']"}
        <strong>统计考场：{$info['name']}</strong>
        {/present}
    </div>
    <div class="fn-right red">
        备注：下表以项目为单位的成绩分析
    </div>
</div>
<table class="table">
<thead>
    <tr>
        <th colspan="6">
            卷面成绩：最高 {$statistics['basic']['max']} 分，
            最低 {$statistics['basic']['min']} 分，
            平均 {$statistics['basic']['average']} 分，
            优秀率 {$statistics['basic']['excellent_rate']}%，
            及格率 {$statistics['basic']['pass_rate']}%
        </th>
    </tr>
    <tr class="fn-tar">
        <th class="fn-tar">分 数</th>
        <th class="fn-tar">≥90</th>
        <th class="fn-tar">80 - 89</th>
        <th class="fn-tar">70 - 79</th>
        <th class="fn-tar">60 - 69</th>
        <th class="fn-tar">59（含）以下</th>
    </tr>
</thead>
<tbody>
    <tr>
        <td class="fn-tar">人 数</td>
        {volist name="$statistics['range']" id="vo"}
            <td class="fn-tar">{$vo}</td>
        {/volist}
    </tr>
{if condition="!empty($statistics.range_rate)"}
    <tr>
        <td class="fn-tar">百分比</td>
        {volist name="$statistics.range_rate" id="vo"}
        <td class="fn-tar">{$vo} %</td>
        {/volist}
    </tr>
{/if}   
</tbody>
</table>